package com.data.modules.smzh.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import com.data.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: applog
 * @Author: data-boot
 * @Date:   2022-12-12
 * @Version: V1.0
 */
@Data
@TableName("sm_manage.applog")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="applog对象", description="applog")
public class Applog implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private Integer id;
	/**开门类型 1：一键开门。3：密码开门 2：呼叫开门*/
	@Excel(name = "开门类型 1：一键开门。3：密码开门 2：呼叫开门", width = 15)
    @ApiModelProperty(value = "开门类型 1：一键开门。3：密码开门 2：呼叫开门")
    private Integer type;
	/**开门状态*/
	@Excel(name = "开门状态", width = 15)
    @ApiModelProperty(value = "开门状态")
    private Integer status;
	/**APP用户ID*/
	@Excel(name = "APP用户ID", width = 15)
    @ApiModelProperty(value = "APP用户ID")
    private String registerId;
	/**设备编号*/
	@Excel(name = "设备编号", width = 15)
    @ApiModelProperty(value = "设备编号")
    private String serialNo;
	/**设备地址*/
	@Excel(name = "设备地址", width = 15)
    @ApiModelProperty(value = "设备地址")
    private String address;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
	/**开门时间*/
	@Excel(name = "开门时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "开门时间")
    private Date openTime;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
}
